<template>
  <div class="my-list">
    <div class="title">{{ title }}</div>
    <div class="list">
      <div v-for="(item,index) in items" :key="index">
        <slot v-bind="item"></slot>
      </div>
    </div>
  </div>
</template>

<script>
	export default {
		name: "slot-demo-prop2",
      props: ['title', 'items']
	}
</script>

<style scoped>

</style>
